package com.dmtt.web.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;

public class CarAlert {
    private String agv_name;
    private Integer fault_id;
    private String fault_name;
    private int fault_type;
    private Integer overtime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date alertTime;

    public String getAgv_name() {
        return agv_name;
    }

    public void setAgv_name(String agv_name) {
        this.agv_name = agv_name;
    }

    public Integer getFault_id() {
        return fault_id;
    }

    public void setFault_id(Integer fault_id) {
        this.fault_id = fault_id;
    }

    public String getFault_name() {
        return fault_name;
    }

    public void setFault_name(String fault_name) {
        this.fault_name = fault_name;
    }

    public int getFault_type() {
        return fault_type;
    }

    public void setFault_type(int fault_type) {
        this.fault_type = fault_type;
    }

    public Integer getOvertime() {
        return overtime;
    }

    public void setOvertime(Integer overtime) {
        this.overtime = overtime;
    }

    public Date getAlertTime() {
        return alertTime;
    }

    public void setAlertTime(Date alertTime) {
        this.alertTime = alertTime;
    }
}
